import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from '@/router/routes'

Vue.use(VueRouter)

const router = new VueRouter({
    mode:process.env.NODE_ENV==='development'?'hash':'history',
    routes,
})
export default router
